package com.main.shake;

import org.redisson.api.RedissonClient;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;


@Configuration
@EnableAspectJAutoProxy
public class AntiShakeAutoConfiguration {
    @Bean
    public AntiShakeAspect customAntiShakeAspect(RedissonClient redissonClient) {
        return new AntiShakeAspect(redissonClient);
    }
}